home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / grafik / 3d & render tools / irit / man / man6 / arc.6 < prev    next >
Text File  |  1996-07-16  |  716b  |  24 lines

  1. .TH ARC
  2.  6 "IRIT Version 6.0" 
  3. .SH NAME
  4. ARC
  5.  
  6.  
  7.  
  8.  CurveType ARC( VectorType StartPos, VectorType Center, VectorType EndPos )
  9.  
  10. Constructs an arc between the two end points StartPos and EndPos,
  11. centered at Center. Arc will always be less than 180 degrees, so the
  12. shortest circular path from StartPos to EndPos is selected. The
  13. case where StartPos, Center, and EndPos are collinear is
  14. illegal, since it attempts to define a 180 degrees arc. Arc is constructed
  15. as a single rational quadratic Bezier curve.
  16.  
  17. Example:
  18.  
  19.     Arc1 = ARC( vector( 1.0, 0.0, 0.0 ),
  20.                 vector( 1.0, 1.0, 0.0 ),
  21.                 vector( 0.0, 1.0, 0.0 ) );
  22.  
  23. constructs a 90 degrees arc, tangent to both the X and Y axes at coordinate 1.
  24.